export const default_project_config = {
  canvas: {
    width: 1800,
    height: 1080,
    fps: 30,
  },
  textBasic: {
    content: "生活是美好的，也是残酷的",
    startTime: 1,
    duration: 8,
    fontSize: 12,
    color: "#ffffff",
    isBold: false,
    isItalic: false,
    isUnderline: false,
    opacity: 0.95,
    align: 1,
    letterSpacing: 5,
    lineSpacing: 8,
  },
  textBorder: { color: "#000000", width: 45, opacity: 0.8 },
  textBackground: {
    color: "#000000",
    style: 1,
    opacity: 0.8,
    width: 45,
    height: 45,
    horizontalOffset: 0,
    verticalOffset: 0,
    roundRadius: 0,
  },
  textAnimation: {
    introAnimation: "渐显",
    outroAnimation: "渐隐",
    loopAnimation: "无",
    introDuration: 1,
    outroDuration: 1,
  },
  videoMaterials: [],
  textPosition: { x: 0, y: 0 }, // 默认文本位置
  textColors: {
    textColor: "#000000",
    borderColor: "#000000",
    backgroundColor: "#FFFFFF",
  },
  textAnimationSettings: {
    introAnimation: "渐显",
    outroAnimation: "渐隐",
    loopAnimation: "无",
    introDuration: 1,
    outroDuration: 1,
  },
};

export const default_animations = {
  intro_animations: [
    {
      name: "渐显",
      display_name: "渐显",
      is_vip: false,
      description: "免费 - 渐显",
    },
    {
      name: "缩小",
      display_name: "缩小",
      is_vip: false,
      description: "免费 - 缩小",
    },
    {
      name: "放大",
      display_name: "放大",
      is_vip: false,
      description: "免费 - 放大",
    },
  ],
  outro_animations: [
    {
      name: "渐隐",
      display_name: "渐隐",
      is_vip: false,
      description: "免费 - 渐隐",
    },
    {
      name: "缩小",
      display_name: "缩小",
      is_vip: false,
      description: "免费 - 缩小",
    },
    {
      name: "放大",
      display_name: "放大",
      is_vip: false,
      description: "免费 - 放大",
    },
  ],
  loop_animations: [
    {
      name: "跳动",
      display_name: "跳动",
      is_vip: false,
      description: "免费 - 跳动",
    },
    {
      name: "旋转",
      display_name: "旋转",
      is_vip: false,
      description: "免费 - 旋转",
    },
    {
      name: "颤抖",
      display_name: "颤抖",
      is_vip: false,
      description: "免费 - 颤抖",
    },
    {
      name: "闪烁",
      display_name: "闪烁",
      is_vip: false,
      description: "免费 - 闪烁",
    },
    {
      name: "摇摆",
      display_name: "摇摆",
      is_vip: false,
      description: "免费 - 摇摆",
    },
    {
      name: "波浪",
      display_name: "波浪",
      is_vip: false,
      description: "免费 - 波浪",
    },
    {
      name: "环绕",
      display_name: "环绕",
      is_vip: false,
      description: "免费 - 环绕",
    },
    {
      name: "钟摆",
      display_name: "钟摆",
      is_vip: false,
      description: "免费 - 钟摆",
    },
    {
      name: "翻转",
      display_name: "翻转",
      is_vip: false,
      description: "免费 - 翻转",
    },
    {
      name: "雨刷",
      display_name: "雨刷",
      is_vip: false,
      description: "免费 - 雨刷",
    },
    {
      name: "上下浮动",
      display_name: "上下浮动",
      is_vip: false,
      description: "免费 - 上下浮动",
    },
    {
      name: "左右浮动",
      display_name: "左右浮动",
      is_vip: false,
      description: "免费 - 左右浮动",
    },
    {
      name: "缩放呼吸",
      display_name: "缩放呼吸",
      is_vip: false,
      description: "免费 - 缩放呼吸",
    },
    // 付费动画示例
    {
      name: "霓虹闪烁",
      display_name: "霓虹闪烁",
      is_vip: true,
      description: "VIP - 霓虹闪烁",
    },
    {
      name: "故障抖动",
      display_name: "故障抖动",
      is_vip: true,
      description: "VIP - 故障抖动",
    },
    {
      name: "发光脉冲",
      display_name: "发光脉冲",
      is_vip: true,
      description: "VIP - 发光脉冲",
    },
  ],
};

export const default_animations_single = {
  intro_animations: [
    {
      name: "渐显",
      display_name: "渐显",
      is_vip: false,
      description: "免费 - 渐显",
    },
  ],
  outro_animations: [
    {
      name: "渐隐",
      display_name: "渐隐",
      is_vip: false,
      description: "免费 - 渐隐",
    },
  ],
  loop_animations: [
    {
      name: "跳动",
      display_name: "跳动",
      is_vip: false,
      description: "免费 - 跳动",
    },
  ],
};
